import request from '@/utils/request'

// 查询小鞠微博详情列表
export function listWeiboDetail(query) {
  return request({
    url: '/kiku/weiboDetail/list',
    method: 'get',
    params: query
  })
}

// 查询小鞠微博详情详细
export function getWeiboDetail(id) {
  return request({
    url: '/kiku/weiboDetail/' + id,
    method: 'get'
  })
}

// 新增小鞠微博详情
export function addWeiboDetail(data) {
  return request({
    url: '/kiku/weiboDetail',
    method: 'post',
    data: data
  })
}

// 修改小鞠微博详情
export function updateWeiboDetail(data) {
  return request({
    url: '/kiku/weiboDetail',
    method: 'put',
    data: data
  })
}

// 删除小鞠微博详情
export function delWeiboDetail(id) {
  return request({
    url: '/kiku/weiboDetail/' + id,
    method: 'delete'
  })
}
